package com.tledu.springboot19.service;

import com.tledu.springboot19.entity.News;

import java.util.List;
import java.util.Map;

public interface NewsService {

    List<News> search(String title);

    List<Map<String, Object>> countCategory();

    List<Map<String, Object>> countByDate();
}
